<?php

ob_implicit_flush(true);
echo '123';
sleep($_GET['delay']);
echo 'qwe';
sleep(1);
echo 'asd';